<div class="header">
	<div class="container-xxl">
		<div class="header-wrap">
			<div class="logo">
				<a href="/">
					<img src="{$site.logo}" alt="{$site.title}" style="height:59px;"/>
				</a>
			</div>
			<div class="menu">
				<ul class="nav-text">
					{hkcms:channel type="top" ismenu="1"}
					<li {if $item.has_child} class="dropdown" {/if}>
						<a href="{$item.url}" target="{$item.target}">{$item.title}</a>
						{if $item.has_child}
						<div class="dropdown-text">
							{hkcms:channel name="$item['id']" id="son" type="son"}
							<a href="{$son.url}" target="{$son.target}">{$son.title}</a>
							{/hkcms:channel}
						</div>
						{/if}
					</li>
					{/hkcms:channel}
				</ul>
			</div>
			<div class="header-tool">
				<div class="search">
					<a href="JavaScript:;" data-bs-toggle="offcanvas" data-bs-target="#search">搜索</a>
				</div>
				<div class="m-btn">
					<a href="JavaScript:;" id="navToggle"><i></i></a>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="header-m">
	<div class="close">
		<img src="__static__/picture/close.svg" alt="关闭导航">
	</div>
	<div class="m-menu">
		<ul class="m-nav-text">
			{hkcms:channel type="top" ismenu="1"}
			<li {if $item.has_child} class="dropdown" {/if}>
				<a href="{$item.url}" target="{$item.target}">{$item.title}</a>
				{if $item.has_child}
				<div class="dropdown-text">
					{hkcms:channel name="$item['id']" id="son" type="son"}
					<a href="{$son.url}" target="{$son.target}">{$son.title}</a>
					{/hkcms:channel}
				</div>
				{/if}
			</li>
			{/hkcms:channel}
		</ul>
	</div>
</div>